package usercenter

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ UserVerifyLogModel = (*customUserVerifyLogModel)(nil)

type (
	// UserVerifyLogModel is an interface to be customized, add more methods here,
	// and implement the added methods in customUserVerifyLogModel.
	UserVerifyLogModel interface {
		userVerifyLogModel
	}

	customUserVerifyLogModel struct {
		*defaultUserVerifyLogModel
	}
)

// NewUserVerifyLogModel returns a model for the database table.
func NewUserVerifyLogModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) UserVerifyLogModel {
	return &customUserVerifyLogModel{
		defaultUserVerifyLogModel: newUserVerifyLogModel(conn, c, opts...),
	}
}
